package com.xqboss.web.controller.nft;


import com.xqboss.apps.service.nft.SupplierService;
import com.xqboss.common.core.controller.BaseController;
import com.xqboss.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 */
@RestController
@RequestMapping("/web/supplier")
public class WebSupplierController extends BaseController {


    @Autowired
    private SupplierService supplierService;


    @GetMapping("/all-list")
    public AjaxResult allList() {
        return success(supplierService.list());
    }

}
